/// access_token : "815b8b36-4a14-4e06-9548-cec276d9a5cb"
/// token_type : "bearer"
/// refresh_token : "f08cf0f5-cba4-49ec-8664-f99b5201e322"
/// expires_in : 99999998
/// scope : "BX"
/// account_type : "sxbdjw"

class LoginToken {
  LoginToken({String? tokenName, String? tokenValue}) {
    _tokenName = tokenName;
    _tokenValue = tokenValue;
  }

  LoginToken.fromJson(dynamic json) {
    _tokenName = json['tokenName'];
    _tokenValue = json['tokenValue'];
  }


  String? _tokenName;
  String? _tokenValue;

  get tokenValue =>  _tokenValue;

  LoginToken copyWith({
    String? tokenName,
    String? tokenValue,
  }) => LoginToken(
    tokenName: tokenName ?? _tokenName,
    tokenValue: tokenValue ?? _tokenValue,
  );


  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['tokenName'] = _tokenName;
    map['tokenValue'] = _tokenValue;
    return map;
  }
}
